launchd.agents.<name>.config.WatchPaths

This optional key causes the job to be started if any one of the listed paths are modified.

Type
null or (list of absolute path)
Default
null
Declared
<home-manager/modules/launchd/default.nix>